﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Radiation___IM.Users
{
	public class PermissionList
	{
        public static string[] Permissions = { "full", // Full rights
                                            "manage_friends",
                                            "create_channel",
                                            "protect_channel",
                                            "change_nick",
                                            "login",
                                            "register",
                                            "motd",
                                            };

        public static bool isValidPermission(string perm)
        {
            return Permissions.Contains<string>(perm);
        }
	}
}
